package com.aptech.jboa.pojo;

import java.util.Date;


/**
 * Notice entity. @author MyEclipse Persistence Tools
 */

public class Notice  implements java.io.Serializable {


    // Fields    

     private Long id;
     private Userinfo userinfo;
     private Departmentinfo departmentinfo;
     private String title;
     private String content;
     private Date time;
     private String status;


    // Constructors

    /** default constructor */
    public Notice() {
    }

    
    /** full constructor */
    public Notice(Userinfo userinfo, Departmentinfo departmentinfo, String title, String content, Date time, String status) {
        this.userinfo = userinfo;
        this.departmentinfo = departmentinfo;
        this.title = title;
        this.content = content;
        this.time = time;
        this.status = status;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public Userinfo getUserinfo() {
        return this.userinfo;
    }
    
    public void setUserinfo(Userinfo userinfo) {
        this.userinfo = userinfo;
    }

    public Departmentinfo getDepartmentinfo() {
        return this.departmentinfo;
    }
    
    public void setDepartmentinfo(Departmentinfo departmentinfo) {
        this.departmentinfo = departmentinfo;
    }

    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }

    public Date getTime() {
        return this.time;
    }
    
    public void setTime(Date time) {
        this.time = time;
    }

    public String getStatus() {
        return this.status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }
   








}